package com.xnyy.lottery.domain.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xnyy.lottery.domain.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @description:
 * @auther: Administrator
 * @date: 2022/9/16 02:01
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据用户名获取
     *
     * @param username 用户名
     * @return
     */
    User selectByUsername(@Param("username") String username);
}
